package com.black.app.domain.resp.my.myshoppingcar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@ApiModel(value = "AppShoppingCarResp", description = "购物车查询响应对象")
public class AppShoppingCarResp {
    /**
     * 购物车id
     */
    @TableId(type = IdType.AUTO)
    private Integer cartId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 商品名
     */
    private String productName;

    /**
     * 是否售卖
     */
    private Integer saleNot;

    /**
     * 商品规格id
     */
    private Integer specificationId;

    /**
     * 规格名称
     */
    private String specificationName;

    /**
     * 库存
     */
    private Integer inventory;

    /**
     * 规格价格
     */
    private String specificationValue;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 购物车创建时间
     */
    private Date createTime;
}
